Cross transport authentication

ABSTRACT

An authentication controller coupled to a first communication port of a portable media device is allowed to provide authentication on behalf of an accessory device coupled to a second communication port of the portable media device. In one embodiment, a cross transport connector includes a connector configured to couple with an accessory and a connector configured to couple with a portable media device such that the accessory can be coupled to the second communication port of the portable media device. The cross-transport connector also includes an authentication controller. The authentication controller may request authentication from the media device over the first communication port of the portable media device. The request may also include an identifier of the second port, to which authenticated permissions obtained via the first port may be transferred.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 13/538,941, filed Jun. 29, 2012, now U.S. Pat. No. 8,634,761, issuing Jan. 21, 2014, which is a division of U.S. patent Ser. No. 12/349,984 filed on Jan. 7, 2009, now U.S. Pat. No. 8,238,811, issued Aug. 7, 2012, which claims priority to U.S. provisional application No. 61/095,041, filed on Sep. 8, 2008, which are incorporated by reference.

FIELD OF THE INVENTION

The present invention relates generally to authentication and in particular to cross-transport authentication for use in communications between a portable media device and an accessory device.

BACKGROUND

A portable media device can store media assets, such as audio tracks, video tracks or photos that may be played or displayed on the portable media device. Examples of portable media devices are the iPod® and the iPhone™ portable media devices, which are available from Apple Inc. of Cupertino, Calif. Often, a portable media device acquires its media assets from a host computer that serves to enable a user to manage media assets. As an example, the host computer may execute a media management application to manage media assets. One example of a media management application is iTunes®, produced by Apple Inc.

A portable media device typically includes one or more connectors or ports that may be used to interface with other devices. For example, the connector or port may enable the portable media device to couple to a host computer, be inserted into a docking system, or receive an accessory device. In the case of the iPod®, for example, a vast array of accessory devices have been developed that may interconnect to the portable media device. For example, a remote control may be connected to the connector or port to allow the user to remotely control the portable media device. As another example, an automobile may include a connector and the portable media device may be inserted onto the connector such that an automobile media system may interact with the portable media device, thereby allowing the media content on the portable media device to be played within the automobile. In another example, a digital camera may be connected to the portable media device to download images and the like.

Portable media devices commonly connect with remote devices for playback or presentation of media assets stored on the portable media device. A user may want to dock a portable media device to a home stereo system (or in-vehicle stereo system), for example, and play back songs stored on the portable media device but with sound experience provided by the home stereo system. In such situations, it is convenient for the user to be able to operate the portable media device remotely, e.g., using controls of the home stereo system or a remote control device that communicates with the home stereo system.

It has been known to provide control over various operations of a portable media device via an accessory and vice versa. A communication protocol is provided, by which the accessory and the portable media device can exchange instructions and information. Using suitable command signals, the accessory can invoke the playback functions of the portable media device and can obtain certain information about media assets stored on the portable media device.

BRIEF SUMMARY

Existing interface protocols allow a portable media device (PMD) to control whether and how an accessory accesses functionality of the PMD. Such protocols restrict and/or limit access by third party devices that are error prone, disruptive, resource draining, and/or damaging to the media player. Moreover, such protocols may provide copy protections to media resources that are subject to copy restrictions. Most often accessories authenticate themselves using a trusted authentication scheme known by the PMD in order to receive permissions to access and/or control the PMD via a communication port. These permissions may be granted by the PMD to the communication port coupled with the accessory. Embodiments disclosed herein allow authentication of an accessory device through a port that is not coupled with the accessory device, referred to herein as cross-transport authentication.

One embodiment provides for a method for cross-transport authentication of an accessory device at a portable media device (PMD) that is communicatively coupled to the accessory device. In one embodiment the PMD receives a cross-transport authentication request via a first port. The authentication request may specify a second port for which cross-transport authentication is requested. The portable media device may be communicatively coupled with the accessory via the second port. The first port may be authenticated and a set of permissions established for communication via the first port. A subset (up to and including all) of these permissions may then be transferred, replicated, copied, and/or granted to the second port. Thereafter, the PMD can communicate with the accessory through the second port.

A portable media device (PMD) is also disclosed according to one embodiment. The PMD includes a multi-transport communication interface. The multi-transport communication interface may be configured to exchange commands and data with an accessory through the multi-transport communication interface having a plurality of ports. The PMD may receive a request for cross-transport authentication through a first one of the plurality of ports of the multi-transport communication interface that specifies a second one of the ports as a second port. The PMD may also perform an authentication operation via the first port. If the authentication is successful, the PMD may grant a set of permission to at least the second port.

A method for providing cross-transport authentication for an accessory coupled with a portable media device through a cross-transport connector is provided according to another embodiment. A cross-transport authentication request is received through a first port for communication over a second port. The request may include an identifier associated with the second port. The first port may then be authenticated and permissions granted to the first port by the PMD. A cross-transport authentication request may be received through a second port, the request including an identifier associated with the second port. A determination may then be made whether the identifiers received through the two ports match. In the event the identifiers match, the second port is provided with permissions.

An interface system for coupling an accessory device with a portable media device is provided according to another embodiment. The interface system comprises a first and a second connector, a plurality of communication ports, and an authentication controller. The first connector is configured to connect to the portable media device and the second connector is configured to connect to the accessory device. The plurality of communication ports provide at least two communication channels between the portable media device and the accessory device. The two communication channels may include a first port and a second port, the second port being coupled with the second connector. The authentication controller may be configured to request transport authentication from the portable media device over the first port for the second port.

A method for providing cross-transport authentication using an interface system that includes at least a first port and a second port is provided according to another embodiment. The interface system may be configured to couple with a portable media device and an accessory device. An indication that the interface system is communicatively connected with a first port and a second port of a portable media device may be received. An indication an accessory device is communicatively coupled with the interface system and configured to communicate via the second port of the portable media device may also be received. The interface system may then send an authentication request to the portable media device through the first port. The request may include a request to transfer at least a subset of authentication permissions to the second port.

An accessory cable is also provided according to another embodiment. The accessory cable includes a multi-pin connector, a USB connector, and an authentication controller. The multi-pin connector may be configured to couple with a portable media device. The multi-pin connector may include a set of USB pins connectable to a USB port of the portable media device and a set of serial transport pins connectable to a serial port of the portable media device. The USB connector may be coupled with the USB pins of the multi-pin connector and may be configured to couple with an accessory device. The authentication controller may be embedded within the accessory cable and communicatively coupled to the serial transport pins of the multi-pin connector. The authentication controller may be configured to communicate authentication information with the portable media device via the serial transport pins and to request that authentication permissions received for the serial port are transferred to the USB port.

An accessory for providing a remote user interface to a portable media device through a cross-transport connector may also be provided. The accessory may include an input/output interface configured to exchange commands and data with the portable media device via a second port of the portable media device. The accessory may also include a cache configured to store information obtained from the portable media device via the input/output interface. The accessory may include a controller coupled to the input/output interface and the cache. The controller may also be configured to detect a connection of the portable media device to the input/output interface through the cross-transport connector. The controller may also be configured to request cross-transport authentication of the second port by sending a cross-transport request to the portable media device through the input/output interface and the second port; the cross-transport request including identification of a first port of the portable media device to be used for authentication. The controller may also be configured to receive an indication from the input/output interface that cross-transport authentication for the second port is successful. The controller may also be configured to communicate with the portable media device through the input/output interface and the second port.

A method for providing cross-transport authentication at an accessory device through a multi-transport communication interface including a first port and a second port is also provided. A request for cross-transport authentication may be sent via the second port. The request may include an identifier associated with the first port. An indication may be received that permissions have been granted for communication with the portable media device through the second port. The accessory may then communicate with the portable media device through the second port.

Further areas of applicability of the present disclosure will become apparent from the detailed description provided hereinafter. It should be understood that the detailed description and specific examples, while indicating various embodiments, are intended for purposes of illustration only and do not limit the scope of the disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A shows a block diagram of an accessory authentication system according to one embodiment of the invention.

FIG. 1B shows another block diagram of an accessory authentication system according to one embodiment of the invention.

FIG. 1C shows a block diagram of an accessory coupled with a portable media device using cross-transport authentication according to one embodiment.

FIG. 1D shows a block diagram of a car stereo coupled with an iPod® using cross-transport authentication according to one embodiment.

FIGS. 2A and 2B shows transport channels with an interface system according to one embodiment.

FIG. 3 shows a block diagram of a portable media device (PMD) coupled with an authentication controller and an accessory according to one embodiment.

FIG. 4 is a table showing an example of a pin out of one connector of an interface system according to one embodiment.

FIG. 5A is a block diagram of an authentication controller according to one embodiment of the invention.

FIG. 5B is a block diagram of an authentication manager according to one embodiment of the invention.

FIG. 6 is a flowchart showing an authentication controller (AC) making a request for cross-transport authentication from a PMD according to one embodiment.

FIG. 7 is a flowchart showing a PMD establishing cross-transport authentication from an AC according to one embodiment.

FIG. 8 is a flowchart showing an accessory device making a request for cross-transport authentication from a PMD according to one embodiment.

FIG. 9 is a flowchart showing a PMD establishing cross-transport authentication with an accessory device according to one embodiment.

FIG. 10 shows an example of an authentication process between a PMD and an authentication controller according to one embodiment.

In the appended figures, similar components and/or features may have the same reference label. Where the reference label is used in the specification, the description is applicable to any one of the similar components having the same reference label.

DETAILED DESCRIPTION

The ensuing description provides various embodiments of the invention only, and is not intended to limit the scope, applicability or configuration of the disclosure. Rather, the ensuing description of the embodiments will provide those skilled in the art with an enabling description for implementing an embodiment. It should be understood that various changes may be made in the function and arrangement of elements without departing from the spirit and scope as set forth in the appended claims.

Embodiments described herein provide authentication of a destination port using a requesting port, referred to as “cross-transport authentication.” For example, in some embodiments, an interface system may include an authentication controller, a first connector for connecting with a portable media device, a second connector for connecting with an accessory device, and at least one communication port that provides at least one communication channel between the accessory and the portable media device. In some embodiments, the authentication controller may be communicatively coupled with the portable media device over a first port, and the accessory may be communicatively coupled with the portable media device over a second port. Accordingly, in some embodiments, the authentication controller may provide authentication information and/or credentials to the portable media device over a first port. This information and/or credentials may then be used to authenticate the authentication controller over the first port. Once authenticated, permissions may be granted to the first port. These permissions, for example, may define the extent to which an authenticated device may access and/or control various functions the portable media device. These permissions once granted may then be transferred and/or replicated to a second port such that the accessory device may communicate, access and/or control the portable media device despite not being directly authenticated by the portable media device.

As used throughout this disclosure the terms “port” and “transport” are used interchangeably and refer generally to a communication channel between two devices, chips and/or circuits. Communication channels may include wireless as well as wired channels. Moreover, communication channels may also include any of various protocols.

As used throughout this disclosure the terms “permission” or “permissions” when used in conjunction with a portable media device, characterize the information that may be received from a portable media device, the commands that may be used to control a portable media device, and/or the functionality that may be accessed in the mobile communication device. Permissions may be granted as a group or individually. Moreover, in some embodiments, permissions may be assigned to a specific device and/or port.

FIG. 1A is a block diagram of a cross-transport authentication system 100 according to one embodiment. Cross-transport authentication system 100 includes a portable media device 102. Additionally, portable media device 102 may include, for example, a media player, a personal digital assistant, and/or a mobile telephone. For example, the portable media device may be an iPod® or an iPhone® or the like. Portable media device 102 includes a connector interface 104 for receiving a connector. Connector interface 104 can provide multiple physically or logically distinct communication ports via which other devices can communicate with portable media device 102. For example, connector interface 104 can provide a USB port, a UART port, and/or a FireWire port. In some embodiments, connector interface 104 can also support wireless connections (e.g., Bluetooth or Wi-Fi) that do not require a physical connector.

Cross-transport authentication system 100 may also include an interface 106 having two connectors 108, 110, which may be connected by a cable 111. The cable may include more than one communication transport. First connector 108 may be connected with a portable media device 102 and second connector 110 may be connected with accessory 112, as indicated by dashed lines in FIG. 1A. When connected with portable media device 102, first connector 108 may be received by connector port 104. When first connector 108 is coupled with connector port 104, interface 106 may be physically and/or electrically connected to portable media device 102. In some embodiments, when first connector 108 is coupled with connector interface 104, connections are established to at least two of the communication ports of portable media device 102, thereby establishing at least two communication channels with portable media device 102. In some embodiments, first connector 108 includes an authentication controller 180.

Cross-transport authentication system 100 further includes an accessory 112. Accessory 112 may provide certain enhanced functionality to portable media device 102 when accessory 112 is interconnected with portable media device 102 via interface 106. For example, accessory 112 may include a speaker system that can reproduce sounds based on audio signals (e.g., digitally encoded audio data) received from portable media device 102 and/or a display system that can display images based on image signals (e.g., digitally encoded pixel data) received from portable media device 102. As another example, accessory 112 may implement a remote control that allows a user to control functions of portable media device 102 by interacting with a user interface of accessory 112 To facilitate such interconnection, accessory 112 includes a connector port 114. Interface 106 may be coupled with accessory 112 using second connector 110. When accessory 112 is connected with interface 106, accessory 112 may be physically and/or electrically connected with interface 106, and accessory 112 may be electrically coupled with portable media device 102 via interface 106.

As noted above, interface 106 may provide more than one communication channel between portable media device 102 and accessory 112. For example, authentication controller 180 may communicate through a first port of connector interface 104 (e.g., a UART port) while accessory 112 communicates through a second port of connector interface 104 (e.g., a USB port). In other embodiments, wireless interfaces may be used to provide one or more communication channels. While such interfaces do not require a physical connector, nevertheless the various embodiments described herein may be extended to wireless applications.

According to some embodiments, interface 106 can use authentication controller 180 communicating through a first port of connector interface 104 to establish authentication on behalf of accessory 112 communicating through a second port of connector interface 104.

Authentication controller 180 can request “cross-transport” authentication through the first port (also referred to herein as a “requesting port”) of interface unit 106 and can specify that the authentication privileges established via the first port are to be shared with or transferred to the second port (also referred to as a “destination port”), to which accessory 112 is connected. Portable media device 102 can perform an authentication process in conjunction with authentication controller 180 over the requesting port, and based on the result of this process, portable media device 102 may grant various permissions to the requesting port. During a cross-transport authentication, once authentication completes on the requesting port, some or all of the permissions thereby granted may be replicated or transferred to the destination port that is communicatively coupled with accessory 112.

Consequently, the nature and degree of the interaction between interface 106 and/or accessory 112 and portable media device 102 can be controlled. For example, in some embodiments, upon successful authentication, portable media device 102 may consider interface 106 and/or accessory 112 to be a trusted partner that is permitted to access functions, features or operations of portable media device 102. On the other hand, if portable media device 102 determines that interface 106 and/or accessory 112 is not a trusted partner (e.g., because authentication fails), then portable media device 102 can prevent or limit interactions with interface 106 and/or accessory 112. Interface 106 itself, for example, may also be considered an accessory device for portable media device 102.

In some embodiments, interface 106 can serve in part as a bus interface adapter, such as a USB or FireWire® adapter. In such an embodiment, interface 106 serves in part to adapt portable media device 102 to a bus host device (e.g., USB or FireWire® host). Accessory 112 then advantageously need only operate as a bus peripheral device (e.g., USB or FireWire® device).

FIG. 1B is a block diagram of a cross-transport authentication system 150 according to another embodiment. This cross-transport authentication system 150 is similar to cross-transport authentication system 100 shown in FIG. 1A. However, according to this embodiment, authentication controller 180 is found within second connector 110 that may be used to couple interface 106 with accessory 112.

FIG. 1C is a block diagram of a cross-transport authentication system 170 according to another embodiment. This cross-transport authentication system 170 is similar to cross-transport authentication system 100 shown in FIG. 1A. However, according to this embodiment, authentication controller 180 is embedded within interface 106. Wire or cable 111 may provide at least a communication channel between accessory 112 and PMD 102 as well as a communication channel between authentication controller 180 and PMD 102.

FIG. 1D is a block diagram of a specific application for a cross-transport authentication system 190 according to one embodiment. This cross-transport authentication system 190 is similar to the cross-transport authentication system 170 shown in FIG. 1C. According to this embodiment, first connector 108 may be a 30 pin connector and may be connected with an iPod® 103. Second connector 110 may be a USB connector and may be connected with a car stereo 113. As shown, authentication controller 180 is found within the cable 111 of interface 106. However, in other embodiments, authentication controller 180 may be found within either connector 108, 110 as shown in FIGS. 1A and/or 1B.

For example, authentication controller 180, may connect with iPod® 103 with a serial transport (e.g., UART) and may send a cross-transport request to the iPod® 103 using the serial transport. For example, the cross-transport request may request authentication for a USB transport that connects car stereo 113 with the PMD. Thus, upon authentication, car stereo 113 through the USB transport may receive the authentication permissions provided by the iPod® 103 to operate and/or communicate with the iPod® 103, and consequently (depending on the permissions provided), a user can control various functions of iPod® 103 via car stereo 113. Moreover, in some embodiments, the serial transport may continue to be authorized along with the USB transport. In other embodiments, some or all the permissions are transferred to the USB transport. Once a transport has been authorized a set of permissions may be assigned to the transport. These permissions, for example, may define the information that may be received, the commands that may be used, and/or the functionality that may be accessed in the iPod® or any other mobile communication device by the accessory.

FIG. 2A shows a plurality of ports that may be provided for communication between PMD 102 and an accessory 112 according to one embodiment. The dashed lines represent wireless transports, for example, Wi-Fi, Bluetooth, 3G. Edge, cellular, wireless USB, etc. The solid lines represent wired transports, for example, USB, serial, FireWire, UART, etc. As shown, a single port, Port A, is coupled with authentication controller 180. FIG. 2B shows a similar figure with a number of ports, Port F, Port G, Port H, and Port I coupled with the authentication controller according to another embodiment. Thus, authentication controller 180 can be capable of communicating via one or more different ports. While FIGS. 2A and 2B show multiple ports connected between PMD 102 and accessory 112, it is to be understood that this is not required; accessory 112 might communicate via only one port, and that can be a different port from the port(s) via which authentication controller 180 is capable of communicating.

FIG. 3 shows a block diagram of a PMD 102 coupled with an authentication controller 180 and an accessory 112 according to one embodiment. PMD 102 in this embodiment can provide media player capability. PMD 102 can include processor 330, storage device 325, user interface (UI) 335, and accessory input/output (I/O) interface 305. Processor 330 in some embodiments can implement various software programs stored in storage device 325. In doing so, processor 330 may interact with accessory 112 through I/O interface 305 and user interface 335.

Storage device 325 may be implemented, e.g., using disk, flash memory, or any other non-volatile storage medium. In some embodiments, storage device 325 can store media assets (also referred to herein as “tracks”), such as audio, video, still images, or the like, that can be played by PMD 102. Storage device 325 can implement a database that stores media assets and also stores metadata records associated with each media asset. The metadata record for a given asset can include various fields, e.g., a media type (audio track, video track, audio book, still image, etc.); an asset title; a name of an artist or performer associated with the asset; composer or author information; asset length; chapter information; album information; lyrics; information about associated artwork or images; description of the asset; and so on. The database can also include “playlists”, which are lists of assets that can be played sequentially. Playlists can include user-created playlists and/or automatically generated playlists.

Storage device 325 can also store other information such as information about a user's contacts (names, addresses, phone numbers, etc.); scheduled appointments and events; notes; and/or other personal information. In still other embodiments, storage device 325 can store one or more programs to be executed by processor 330 (e.g., video game programs, personal information management programs, programs implementing a playback engine and/or a database engine, etc.).

User interface 335 may include input controls such as a touch pad, touch screen, scroll wheel, click wheel, dial, button, keypad, microphone, or the like, as well as output devices such as video screen, indicator lights, speakers, headphone jacks or the like, together with supporting electronics (e.g., digital-to-analog or analog-to-digital converters, signal processors or the like). A user can operate the various input controls of user interface 335 to invoke the functionality of PMD 102 and can view and/or hear output from PMD 102 via user interface 335.

Accessory I/O interface 305 can allow PMD 102 to communicate with various accessories. Accessory I/O interface 305 includes at least two ports, port A 310 and port B 315. Various other wired and wireless ports may be included. These ports, for example, may include those described above in regard to FIGS. 2A and 2B. Port A 310 is coupled with authentication controller 180 and port B 315 is coupled with accessory 112. Accessory I/O interface 305 may also include an authentication manager 320, which may communicate with an authentication controller to authenticate and provide privileges (or permissions) to an accessory. Authentication manager 320 may perform cryptography functions in conjunction with the authentication controller 180. In some embodiments, such cryptography functions include public-private key cryptography. An example of an authentication manager 320 is described below in relation to FIG. 5B.

For example, accessory I/O interface 305 through port B 315 might support connections to various accessories such as an external speaker dock, a radio (e.g., FM, AM and/or satellite) tuner, an in-vehicle entertainment system, an external video device, or the like. In one embodiment, accessory I/O interface 305 includes a 30-pin connector corresponding to the connector used on iPod® products manufactured and sold by Apple Inc. Alternatively or additionally, accessory I/O interface 305 can include a wireless interface (e.g., Bluetooth or the like).

In some embodiments, PMD 102 can also use accessory I/O interface 305 to communicate with a host computer (not explicitly shown) that executes a media asset management program (such as the iTunes® media asset management program distributed by Apple Inc.). The media asset management program can enable a user to add media assets to PMD and/or remove media assets from PMD 102. The user can also update metadata associated with media assets on PMD 102. In some embodiments, the user can also interact with the media asset management program to create and update playlists. In one embodiment, the host computer maintains a master database of media assets (including associated metadata and playlists), and the media asset management program synchronizes the master database with the database maintained on storage device 325 of PMD 102 automatically whenever PMD 102 connects to the host computer.

Accessory 112 includes controller 360, user interface 355, PMD I/O interface 350, cache 365, and media output device 370. Controller 360 can include, e.g., a microprocessor or microcontroller executing program code to perform various functions such as digital audio decoding, analog or digital audio and/or video processing, and the like. User interface 355 may include input controls such as a touch pad, touch screen, scroll wheel, click wheel, dial, button, keypad, microphone, or the like, as well as output devices such as video screen, indicator lights, speakers, headphone jacks or the like, together with supporting electronics (e.g., digital-to-analog or analog-to-digital converters, signal processors or the like). Alternatively, output components of user interface 355 can be integrated with media output device 370. A user can operate the various input controls of user interface 355 to invoke the functionality of accessory 112 and can view and/or hear output from accessory 112 via user interface 355. In addition, in some embodiments, a user can operate PMD 102 via user interface 355.

PMD I/O interface 350 can allow accessory 112 to communicate with PMD 102 (or another PMD). In some embodiments, PMD I/O interface 350 is configured to connect to a specific port (e.g., port B 315) of PMD 102. Examples are described below.

Cache 365, which can be implemented using volatile and/or nonvolatile memory provides storage for various information including information obtained from PMD 102. For example, in some embodiments, accessory 112 can obtain metadata and/or playlist information from PMD 102. Any or all of this information can be stored in cache 365. Caching of information obtained from PMD 102 by accessory 112 is optional; where used, caching can help speed up performance of accessory 112 by avoiding repeated requests for information from PMD 102.

Media output device 370, which can be implemented, e.g., as one or more integrated circuits, provides the capability to output various types of media. For example, media output device 370 can include a display screen or a driver circuit and connector for an external display screen, thereby enabling video and/or still images to be presented to a user. Additionally or instead, media output device 370 can also include one or more speakers or driver circuits and connectors for external speakers, thereby enabling audio to be presented to a user. In one embodiment, controller 360 can receive media content signals from PMD 102 via PMD I/O interface 350 and can provide the signals with or without further processing to media output device 370; media output device 370 can transform the signals as appropriate for presentation to the user.

Accessory 112 can be any accessory capable of being used with a portable media device. Examples of accessories implementing accessory 112 include, e.g., an external speaker dock, a radio (e.g., FM, AM and/or satellite) tuner, an in-vehicle entertainment system, an external video device, or the like. In one embodiment, PMD I/O interface 350 includes a 30-pin connector that mates with the connector used on iPod® products manufactured and sold by Apple Inc. PMD I/O interface 350 can also include other types of connectors, e.g., Universal Serial Bus (USB) or FireWire connectors. Alternatively, PMD I/O interface 350 can include a wireless interface (e.g., Bluetooth or the like).

According to some embodiments, accessory 112 does not include an authentication controller. Accordingly, accessory 112 may not authenticate itself and receive privileges from PMD 102. Instead, authentication for accessory 112 may be provided through an authentication controller 180 external to accessory 112 using cross-transport authentication as described herein. Authentication controller 180 is coupled with PMD 102 through a separate port (e.g., port A 310). In some embodiments, cross-transport authentication may be initiated and/or performed by authentication controller 180 in conjunction with authentication manager 320. Once authenticated, privileges and/or permissions authenticated to authentication controller 180 through port A may be transferred and/or copied to accessory 112 through port B.

It will be appreciated that the system configurations and components described herein are illustrative and that variations and modifications are possible. The PMD and/or accessory may have other capabilities not specifically described herein.

FIG. 4 is a table showing an example of a pin out of one connector of an interface system according to one embodiment. According to this embodiment, several of the pins are used as an asynchronous serial transport and several are used for a universal serial bus (USB) transport. In this embodiment, a connector with this pin out may be coupled with a portable media device, such as the iPod®. Any configuration of pins and ports can be used, and in some embodiments, one or more of the ports may be a wireless port.

FIG. 5A is a block diagram of an authentication controller 500 according to one embodiment. Authentication controller 500 can be, for example, an implementation of authentication controller 180 of any of FIGS. 1A-1D. Authentication controller 500 includes a processor 502, a random access memory (RAM) 504, and a read-only memory (ROM) 506. ROM 506 may include a private key 508 and/or an authentication algorithm 510. Authentication controller 500 may also receive a power line 512 and/or a communication bus (link) 514 that is connectable to a port of a portable media device. For example, power line 512 and/or communication bus 514 can be provided to authentication controller 500 via a connector, such as connector 108 illustrated in FIGS. 1A, 1B, 1C and/or 1D.

Processor 502 may interact with a portable media device (for example, via a communication bus 514) to authenticate an accessory device. For example, the communication bus may connect to one of a plurality of communication ports of a portable media device. During an authentication process, processor 502 makes use of an authentication algorithm 510 as well as a private key 508 stored within authentication controller 500. Authentication algorithm 510 can vary with different implementations, and suitable authentication algorithms are known to those skilled in the art.

Although not shown in FIG. 5A, authentication controller 500, or an authentication device or accessory device including or utilizing authentication controller 500, can further include a device identifier and additional circuitry. The device identifier can, for example, pertain to a product identifier, a device identifier, and/or a manufacturer identifier. The additional circuitry can vary with implementation.

In one embodiment, authentication controller 500 is implemented on a single integrated circuit, for example, on a single chip. By providing authentication controller 500 on a single integrated circuit, external access to private key 508 and/or authentication algorithm 510 may be substantially reduced. As a result, the authentication process may not only be cryptographically secured but also physically secured by limited physical access.

FIG. 5B is a block diagram of an authentication manager 550 according to one embodiment of the invention. Authentication manager 550 can be, for example, provided within an electronic device, such as portable media device 102 illustrated in FIGS. 1A, 1B, 1C and/or 1D. In this embodiment, authentication manager 550 of the portable media device authenticates an accessory device and/or port.

Authentication manager 550 may include an authentication module 552, an authorization table 554, and a port interface 556. Authentication controller 552 may operate to evaluate whether a particular accessory device, authentication controller, and/or port is authentic and therefore permitted to interoperate with the portable media device. Port interface 556 can provide power and a communication bus 558 to the device being authenticated. Port interface 556 may correspond to one of the ports of PMD 102 (e.g., port A 310) as shown in FIG. 3. In some embodiments, port interface 556 is configured such that authentication module 552 can be connected to any (or all) of the ports of the portable media device. Authorization table 554 stores authentication information that is utilized by authentication controller 552 to evaluate whether certain accessory devices are authentic. As previously noted, authentication manager 550 may be provided within a portable media device.

A portable media device may include various operating features that can be invoked or utilized. In one embodiment, an accessory device that is authenticated by authentication manager 550 can have complete access to all of the features available on the portable media device. In another embodiment, authorization table 554 can control the manner in which the features of the portable media device are made available to the accessory device. As an example, if the portable media device offers a plurality of different features that can be utilized, authorization table 554 can contain an indication as to which of these available features are permitted to be utilized by a particular accessory device. These permitted features and/or controls may also be called permissions. For example, authorization may be classified into levels or classes, each of which having different authorizations, allowing different types of accessories access to different (possibly overlapping) subsets of the media device functionality. An authorization can also specify the manner by which the different features are authorized for use. Hence, features may be authorized for use in limited ways. For example, a feature may be authorized for use over a slow communication interface (e.g., serial) with the portable media device and not over a fast communication interface (FireWire® or USB) with the portable media device. In other words, in this example, features may be authorized for use over only certain interface mechanisms and/or with certain accessory devices.

FIG. 6 is a flowchart showing a process 600 that can be used by an authentication controller (AC) making a request for cross-transport authentication from a PMD according to one embodiment. Process 600 starts at block 602 when an authentication controller is coupled with a portable media device at block 604. In some embodiments, the authentication controller may be coupled with a portable media device using a multi-channel cable. Moreover, the authentication controller may be incorporated into the multi-channel cable. The accessory may be notified that a PMD is attached, for example, when power from the PMD is connected with the accessory or when a particular pin on a connector is driven to a logic low (or high) state or the like. In some embodiments, the authentication controller may also wait until an accessory is attached.

An identification message may then be sent to the PMD at block 606. The identification message may include a device identifier. An acknowledgement message may be returned by the PMD in response to the identification message. Following sending the identification message, the process 600 may query whether the PMD supports cross-transport authentication (CTA) at block 608. In some embodiments, this query may ask for a PMD identifier or version number from the PMD to determine whether CTA is supported. The determination may be made at the PMD and a confirmation message sent to the authentication controller or data may be sent to the authentication controller, such a PMD identifier or version number, from which the authentication controller makes the determination at block 610.

At block 610, if CTA is not supported, then an indication may be provided to a user at block 612. For example, an LED may illuminate, signifying failure. As another example, a digital display may be used to communicate CTA failure. After making such an indication, process 600 ends at block 614.

At block 610, if CTA is supported, then authentication controller sends a CTA request to the PMD at block 616. The authentication request, for example, may include an indication of the port for which cross-transport authentication is requested (destination port) and/or the port from which cross-transport authentication is being requested (requesting port). Referring to the example shown in FIG. 3, port A 310 may be indicated as the requesting port and port B 315 may be indicated as the destination port. Referring back to FIG. 6, at block 618, the authentication controller may then participate in the authentication. Various authentication schemes may be used to authenticate the authentication controller. For example, PMD may send a randomly generated number to the authentication controller. The authentication controller may cryptographically encode the random number using a private key and provide the cryptographic number to the PMD. The PMD may decode the cryptographic number using a public key and compare the decoded number with the random number generated. If there is a match, the authentication controller is authenticated. If there is no match, the authentication controller is not authenticated. A message, for example, from the PMD may be sent to the authentication controller. FIG. 10, described below, shows a further example of an authentication scheme that may be implemented at block 618.

In some embodiments, if the authentication failed, an indication may be provided to the user that CTA has failed at block 622. For example, an LED and/or display may be provided as part of the authentication controller and/or an interface such as interface 106 of FIG. 1A. If the authentication is successful, an indication of the success can be provided to the user at block 624. Again, an LED and/or display may be provided as part of the authentication controller and/or an interface. Once authentication has succeeded, an accessory connected with the destination port may be granted permissions to the PMD. At this point, the authentication controller may enter a low power state at block 626 and await commands from the PMD. During the low power state, if the PMD sends a request to identify the authentication controller at block 628, the processes returns to block 616. If the authentication controller or PMD loses power and/or restarts as determined at block 630, the process then determines whether or not the PMD supports CTA at block 632. For instance, if the authentication controller has retained in cache that the PMD supports CTA, then process 600 returns to block 616; if the authentication controller has not retained in cache that the PMD supports CTA, then the process returns to block 606.

FIG. 7 is a flowchart showing a PMD establishing cross-transport authentication from an AC according to one embodiment. Process 700 starts at block 702 when the PMD receives an identify request from an AC through a requesting port, at block 704. In some embodiments, the PMD may respond with an acknowledgment message. At block 706, the PMD waits until a CTA query is received. The PMD may then determine whether CTA is supported at block 708. If CTA is not supported by the PMD, then an indication is sent to the AC at block 710 and process 700 ends at block 712. (The PMD may continue other communication with the AC after process 700 ends.) If CTA is supported as determined at block 708, then an indication the CTA is supported is sent to the authentication controller at block 714. The PMD then waits until a CTA request is received from the AC at block 716. The port via which the AC communicates the CTA request to the PMD becomes the requesting port for the operation.

At block 718, the PMD may participate in authentication of the authentication controller. Authentication may require further information and/or processes from the authentication controller, e.g., as described above or as described below with reference to FIG. 10. If the authentication is not successful, at block 720, the PMD determines whether retry is permitted at block 722. In some embodiments, authentication may only be requested once; in that case, retry is not permitted. A failure message is sent to the authentication controller at block 724 and process 700 ends at block at 726. In other embodiments the PMD may allow one or more retries at block 722 or may allow retries to continue until some time period has elapsed. If the limit on retries has not been reached, process 700 returns to block 718; otherwise, a failure message is sent to the authentication controller at block 722.

If authentication is successful at block 720, then permissions are provided to the requesting and the destination ports at step 730. In some embodiments, both ports may receive the same permissions. In other embodiments, the ports may receive different permissions. In other embodiments, the destination port may only receive those permissions that were requested by an accessory and provided to the requesting port as a result of authentication at block 718. That is, the destination port, in some embodiments, may not be granted more permissions than the requesting port. Once the permissions have been granted, the PMD may then be controlled and/or accessed by an accessory through the destination port in accordance with the granted permissions.

Process 700 may monitor whether either the accessory or the authentication controller have been disconnected from the PMD at block 732. If either or both the authentication controller and/or the accessory have been disconnected, then the authentication and/or permissions may be revoked at block 734 and process 700 ends at block 726. Alternatively, the PMD may send a request to the accessory and/or the AC to re-identify themselves, and process 700 can return to block 704 to await the re-identification. In some embodiments, if the accessory is disconnected, permissions and/or authentications for the requesting port are not revoked at block 734; only permissions and/or authentication at the destination port are revoked.

FIG. 8 is a flowchart showing a process 800 that an accessory device can use to make a request for cross-transport authentication from a PMD according to one embodiment. Process 800 begins at block 802 and determines whether the accessory is connected with a PMD at block 804. If so, the accessory sends an identify message to the PMD at block 806 through its communication port (which will be the destination port for the CTA operation). The identify message, in some embodiments, may not include a permission request. At block 808, the accessory queries the PMD to determine if the PMD supports CTA. At block 810, the process 800 determines whether CTA is supported at the PMD. The determination at block 810 may be similar to the determination made at block 610 in FIG. 6. If CTA is not supported, an error message may be displayed to the user from the accessory at block 812, and process 800 ends at block 814. In some embodiments, it may not be possible to display an error message to a user, in such embodiments, block 812 may be skipped.

Once it is determined that the PMD supports CTA, the accessory waits for a set period of time at blocks 816 and 818. This period of time can be sufficiently long to allow the authentication controller time to authenticate itself with the PMD using process 600 of FIG. 6. In some embodiments, this period of time may be about 500 ms, however, the time period may be any period of time. Once the time period has elapsed at block 818, an identify with a permission request is sent to the PMD, thereby requesting a set of permissions for the accessory, at block 820. This identify at block 820 may also identify the port with which it is connected as a destination port and identify which port is the requesting port.

At block 822, the accessory receives a response from the PMD; the response can indicate whether the requesting port successfully authenticated using CTA. If authentication between the authentication controller and the PMD is not successful as determined at block 824, then process 800 returns to block 816. If CTA authentication between the authentication controller and the PMD is successful as determined at block 824, the accessory communicates and/or controls the PMD through the destination port using the granted permissions at block 826.

If the PMD sends a request to re-identify the accessory at block 832, process 800 returns to block 816. If the authentication controller or PMD loses power and/or restarts as determined at block 834, the process then determines whether or not the PMD supports CTA at block 836. For instance, if the accessory has retained in cache that the PMD supports CTA, then process 800 returns to block 816; if the accessory has not retained in cache that the PMD supports CTA, then the process returns to block 806.

FIG. 9 is a flowchart showing a process 900 that a PMD can use to establish cross-transport authentication with an accessory device according to one embodiment. Process 900 starts at block 902 with the PMD waiting for an identify message from the accessory through the destination port at block 904. When an identify is received, in some embodiments, the PMD may send an acknowledgement message in return. At block 906, the PMD waits for a CTA query from the accessory. Once the CTA query is received, the PMD, for example, may determine whether CTA is supported and communicate CTA support status with the accessory. Meanwhile, the PMD may be authenticating the authentication controller (e.g., using process 700 of FIG. 7 described above). If such authentication is not successful at block 908, then a failure message can be sent to the accessory at block 920, and process 900 can return to block 906 to await a further CTA query. After some period of time, the accessory may send an identify message with a request for particular permissions at block 909. In some embodiments, the set period of time can correspond to the time period required to authenticate the authentication controller as described above. If the ports associated with the permission request correspond to the ports authenticated with the authentication controller (and in some embodiments, if the permissions requested by the accessory correspond to permissions granted to the authentication controller), the accessory may control the PMD and/or communicate with the PMD through the destination port according to the granted permissions at block 910.

Connection between the PMD and the accessory continues at block 912. If the connection is maintained, communication and/or control of the PMD through the destination port may continue indefinitely. However, if connections are not maintained, then authentications and/or permissions may be revoked at block 914 and process 900 can end at block 916. For example, if the PMD loses power or otherwise resets, it may revoke all authentications and/or permissions that existed prior to this occurrence and require the accessory and/or authentication controller to re-identify (retuning to block 904) in order to re-establish the permissions.

FIG. 10 shows an example of an authentication process 1000 between a PMD 102 and an authentication controller 180 according to one embodiment. Process 1000, for example, may be implemented partially or wholly at block 618 in FIG. 6 and/or at block 718 in FIG. 7. Process 1000 starts at block 1002 in a PMD 102. A random number is generated at block 1004, for example, using a random number generator. The random number may be sent to authentication controller 180 at block 1006. Authentication controller 180 may receive the random number at block 1008 and retrieve a private key at block 1010. The private key, for example, may be retrieved from memory within the authentication controller. The random number is then encrypted at block 1012 and sent back to the PMD at block 1014. In some embodiments, the authentication may also communicate device identifying information to the PMD with the encrypted random number or with other messages.

The encrypted random number is received at the PMD at block 1016. A public key is retrieved from memory within the PMD at block 1018. The public key can be retrieved, e.g., based on device identifying information provided by the accessory either with the encrypted random number or in another previous message. The random number is decrypted at block 1020. If the decrypted random number is the same as the random number generated in block 1004, as determined in block 1022, then authentication succeeds at block 1024. If the decrypted random number is not the same as the random number generated in block 1004, as determined in block 1022, then authentication fails at block 1026. Other authentication processes can be used. For example, in one embodiment, the authenticating device (e.g., authentication controller 180 provides a digital certificate together with device class information prior to providing the encrypted random number to PMD 102. PMD 102 can compare the digital certificate to certificate information stored in its own memory in association with the device class information. If the certificate information does not match, then the authentication fails regardless of whether a decrypted random number matches the random number sent to authentication controller 180 at block 1006. (In some embodiments, if the certificate test fails, the random number test need not be initiated.)

In some embodiments, PMD 102 may be required to detect the presence of the authentication controller within the interface system in order to proceed with cross-transport authentication. In other embodiments, the portable media device may periodically confirm whether the authentication controller is coupled with the portable media device through the requesting port in order to continue authenticated use of the destination port.

In some embodiments, the portable media device may be required to detect the presence of both the authentication controller on the source/requesting port and the accessory device on the destination port in order to proceed with cross-transport authentication. In other embodiments, the portable media device may periodically confirm whether the authentication controller is coupled with the portable media device through the requesting port in order to continue authenticated use of the destination port.

In some embodiments, the authentication controller may only request cross-transport authentication on behalf of a single destination port. In other embodiments, permissions from the requesting port are transferred to the destination port only if the destination port is connected when the permissions are granted to the requesting port. In yet other embodiments, permissions granted to the requesting port are transferred to the destination port only if the destination port requests cross-transport privileges. Moreover, in some embodiments, permissions are transferred only if the destination port's request specifies the requesting port as a source of permissions and the requesting port's request specifies the destination port as an intended recipient of permissions.

In some embodiments, when permissions granted to the requesting port are transferred to the destination port, both ports may thereafter use the transferred privileges. In other embodiments, both ports may continue to use the permissions.

In some embodiments, authentications and/or permissions granted to both the source and destination ports may be lost when the portable media device is powered off, enters hibernation, is shut down, enters a sleep mode, and/or when it awakes. In other embodiments, authentications and/or permissions at the destination port and/or the requesting port may be lost when either the destination port and/or the requesting port becomes detached. In some embodiments, authentications and/or permissions may be lost when the accessory connected via the destination port and/or the authentication controller connected via the requesting port re-identifies itself. Moreover, in other embodiments, if the destination port attempts to authenticate itself then all cross-transport authentication permissions are revoked.

In some embodiments, the destination port and requesting port may be used asynchronously during startup, authentication, and after permissions have been granted using cross-transport authentication. Thus, direct communication between the requesting port and the destination port is not required.

In some embodiments, an interface that supports cross-transport authentication can be designed such that the authentication controller always uses the same port as the requesting port and always specifies the same port as the destination port. In other embodiments, port assignments for requesting and destination ports can be configurable such that any two ports of a particular PMD can be used.

In some embodiments, an accessory device may display status information to a user. For example, as described above, if cross-transport authentication fails, the accessory may display a message stating, for example, that the accessory is not supported or is unauthorized. In other embodiments, the destination port may request authentication permissions prior to a successful cross-transport authentication without displaying a message indicating the accessory is unsupported and/or unauthorized.

In some embodiments, if a destination port has been authorized using cross-transport authentication, and a new cross transport authentication request is received through the same or a new requesting port, the authentications and/or permissions of the destination port are revoked; new authentications and/or permissions based on the outcome of the new request can be established for the same destination port or a different destination port. In other embodiments, the new permissions override the existing permissions only if the new authentication is successful. In some embodiments, a new cross transport authentication request can specify the same destination port that is currently in use. In such an embodiment, the new successful cross-transport authentication may provide new permissions to the destination port in addition to the permissions previously provided to the destination port; in other embodiments, the previously provided permissions are revoked, and only the new permissions are granted to the destination port. In some embodiments, permissions are revoked only if the requesting port for the new request is different from the previous requesting port.

In some embodiments, a request for cross-transport authentication may be denied if the requesting port identifies itself as the destination port. In other embodiments, a request for cross-transport authentication of destination ports that are unsupported by the mobile computing device or to which nothing is presently attached may be denied.

In some embodiments, when authentication and/or permissions have been revoked from a destination port, an accessory connected via the destination port may request that the permissions be reestablished by sending a request to the portable media device through the destination port. Once this request is received at the portable media device, a new request for CTA may be sent to the authentication controller through the requesting port. In some embodiments, such request sent by the portable media device may revoke any permissions currently granted to the requesting port.

In some embodiments, the source port (or the device connected thereto) can reserve certain permissions to itself during cross-transport authentication. Such permissions are not transferred to the destination port. For example, if the portable media device functionality is accessed using commands that are grouped into various “lingoes,” permissions may be granted separately for each lingo. The source port may specify one or more of these lingoes as being reserved for the source port or the device connected thereto (e.g., using an particular command or command parameter) when initiating CTA. The PMD can respect this specification and not transfer privileges for those lingoes to the destination port. Where this is the case, commands in the non-transferred lingoes may be accepted on the source port but not on the destination port.

Specific details are given in the above description to provide a thorough understanding of the embodiments. However, it is understood that the embodiments may be practiced without these specific details. For example, circuits, structures, and/or components may be shown in block diagrams in order not to obscure the embodiments in unnecessary detail. In other instances, well-known circuits, processes, algorithms, structures, components, and techniques may be shown without unnecessary detail in order to avoid obscuring the embodiments.

Implementation of the techniques, blocks, steps and means described above may be done in various ways. For example, these techniques, blocks, steps and means may be implemented in hardware, software, or a combination thereof. For a hardware implementation, the processing units may be implemented within one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described above and/or a combination thereof.

Also, it is noted that the embodiments may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be rearranged. A process is terminated when its operations are completed, but could have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination corresponds to a return of the function to the calling function or the main function.

Furthermore, embodiments may be implemented by hardware, software, scripting languages, firmware, middleware, microcode, hardware description languages and/or any combination thereof. When implemented in software, firmware, middleware, scripting language and/or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine readable medium, such as a storage medium. A code segment or machine-executable instruction may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a script, a class, or any combination of instructions, data structures and/or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters and/or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, etc.

For a firmware and/or software implementation, the methodologies may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. Any machine-readable medium tangibly embodying instructions may be used in implementing the methodologies described herein. For example, software codes may be stored in a memory. Memory may be implemented within the processor or external to the processor. As used herein the term “memory” refers to any type of long term, short term, volatile, nonvolatile, or other storage medium and is not to be limited to any particular type of memory or number of memories, or type of media upon which memory is stored.

Moreover, as disclosed herein, the term “storage medium” may represent one or more devices for storing data, including read only memory (ROM), random access memory (RAM), magnetic RAM, core memory, magnetic disk storage mediums, optical storage mediums, flash memory devices and/or other machine readable mediums for storing information. The term “machine-readable medium” includes, but is not limited to portable or fixed storage devices, optical storage devices, wireless channels and/or various other mediums capable of storing, containing or carrying instruction(s) and/or data.

While the principles of the disclosure have been described above in connection with specific apparatuses and methods this description is made only by way of example and not as limitation on the scope of the disclosure. 

What is claimed is:
 1. An cable comprising: a multi-pin connector configured to couple with a portable media device, the multi-pin connector including a first group of pins connectable to a universal serial bus (USB) port of the portable media device and second group of pins connectable to an asynchronous serial port of the portable media device; a USB connector configured to be coupled to an accessory, the USB connector being electrically coupled to the first group of pins in the multi-pin connector; and an authentication controller communicatively coupled to the second group of pins in the multi-pin connector, the authentication controller configured to: communicate authentication information with the portable media device via the second group of pins to authenticate the asynchronous serial port; and request that authentication permissions received for the asynchronous serial port be transferred to the USB port of the portable media device.
 2. The accessory cable of claim 1 wherein the authentication controller is housed within the multi-pin connector.
 3. The accessory cable of claim 1 wherein the authentication controller is housed within the cable.
 4. An authentication device for use with a portable media device, the authentication device comprising: a first connector configured to couple the authentication device to a portable media device, wherein the first connector comprises a first communication port; a second connector configured to couple the authentication device to an accessory, wherein the second connector comprises a second communication port; and a controller disposed in the first connector, the controller being configured to: detect connection of the portable media device to the authentication device; send a cross-transport request to the portable media device, the cross-transport request including (a) a request for authenticating the first communication port and granting a set of permissions to the first communication port and (b) a request to transfer a sub-set of permissions, from the set of permissions, to the second communication port; and receive an indication from portable media device that the sub-set of permissions was transferred to the second communication port.
 5. The authentication device of claim 4 wherein the controller is implemented as a single integrated circuit.
 6. The authentication device of claim 4 wherein the controller is further configured to enable communication between the accessory and the portable media device based on the sub-set of permissions.
 7. A dongle comprising: a connector configured to connect to a first port of a portable media device, wherein an accessory is connected to a second port of the portable media device; a memory; and a controller disposed in the connector, wherein the controller is configured to: upon attachment of the dongle to the portable media device, send a first message to the portable media device inquiring whether the portable media device supports cross transport authentication; receive a second message from the portable media device indicating that the portable media device supports cross transport authentication; in response to the second message, send a third message to the portable media device, the third message including a request to authenticate the second port of the portable media device and a device identifier associated with the controller; communicate with the portable media device to authenticate the controller; and upon authentication of the controller, enter a low power state.
 8. The dongle of claim 7 wherein the controller is further configured to: in the event of reconnection with the portable media device after a disconnection, determine whether the portable media device supports cross transport authentication based on information stored in the memory during a previous communication with the portable media device; and if the information stored in the memory indicates that the portable media device support cross transport authentication, sending the third message.
 9. The dongle of claim 7 wherein the controller comprises; a processor; a non-volatile memory coupled to the processor, the non-volatile memory storing an authentication algorithm used to authenticate the controller and a private key associated with the controller; and a Random Access Memory (RAM).
 10. The dongle of claim 9 wherein the controller is implemented as a single integrated circuit. 